Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host/include/uhd/types/bye_vector.hpp: include cstdint #741

Closed
wants to merge 1 commit into from
Closed

host/include/uhd/types/bye_vector.hpp: include cstdint #741

wants to merge 1 commit into from

Conversation

ffontaine
Copy link

Include cstdint to fix the following build failure:

In file included from /home/buildroot/instance-0/output-1/build/uhd-4.3.0.0/host/lib/types/byte_vector.cpp:9: /home/buildroot/instance-0/output-1/build/uhd-4.3.0.0/host/include/uhd/types/byte_vector.hpp:19:21: error: 'uint8_t' was not declared in this scope; did you mean 'boost::uint8_t'?
   19 | typedef std::vector<uint8_t> byte_vector_t;
      |                     ^~~~~~~
      |                     boost::uint8_t

Fixes:

Include cstdint to fix the following build failure:

In file included from /home/buildroot/instance-0/output-1/build/uhd-4.3.0.0/host/lib/types/byte_vector.cpp:9:
/home/buildroot/instance-0/output-1/build/uhd-4.3.0.0/host/include/uhd/types/byte_vector.hpp:19:21: error: 'uint8_t' was not declared in this scope; did you mean 'boost::uint8_t'?
   19 | typedef std::vector<uint8_t> byte_vector_t;
      |                     ^~~~~~~
      |                     boost::uint8_t

Fixes:
 - http://autobuild.buildroot.org/results/2cba1535b42e36a62b611af01088622912b277e7

Signed-off-by: Fabrice Fontaine <[email protected]>
Copy link

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

@mbr0wn
Copy link
Contributor

mbr0wn commented Jul 4, 2024

Thanks @ffontaine. I started playing around with IWYU which will make this PR obsolete, but this inspired me to give IWYU a try.

@joergho joergho closed this Jul 11, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants